﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Store/StoreMastePage.Master" AutoEventWireup="true" CodeBehind="UpdateStockItemInformation.aspx.cs" Inherits="logicunivesityinventorystore.Store.Update_stock" %>
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="ajax" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <h1>Update Stock Item Information</h1>
    <br />
    <asp:Label ID="Label1" runat="server" Text="Category"></asp:Label>
&nbsp;
    <asp:DropDownList ID="ddlCategory" runat="server" AutoPostBack="True" Height="25px"
        DataSourceID="ObjectDataSource1" DataTextField="CategoryName" 
        DataValueField="CategoryID" 
        onselectedindexchanged="DropDownList1_SelectedIndexChanged">
        <asp:ListItem Selected="True">--Select--</asp:ListItem>
    </asp:DropDownList>
    <asp:ObjectDataSource ID="ObjectDataSource1" runat="server"
        SelectMethod="FindAllCategory" TypeName="BusinessLogicLayer.ItemFacade">
    </asp:ObjectDataSource>
&nbsp;<asp:Label ID="Label2" runat="server" Text="Item"></asp:Label>
&nbsp;
    <asp:DropDownList ID="ddlItem" runat="server" AutoPostBack="True" 
        Height="25px" Width="171px" DataTextField="Description" 
        DataValueField="ItemCode" 
        onselectedindexchanged="DropDownList2_SelectedIndexChanged" 
        DataSourceID="ObjectDataSource2">
        <asp:ListItem Selected="True">--Select--</asp:ListItem>
    </asp:DropDownList>
    <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" 
        SelectMethod="FindAllByCategory" TypeName="BusinessLogicLayer.ItemFacade">
        <SelectParameters>
            <asp:ControlParameter ControlID="ddlCategory" Name="categoryID" 
                PropertyName="SelectedValue" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
    <br />
    <br />
    <asp:Label ID="Label3" runat="server" Text="Reorder Level"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="txtReorderLevel" runat="server" Height="20px"></asp:TextBox>
    <ajax:NumericUpDownExtender ID="txtReorderLevel_NumericUpDownExtender" runat="server" 
        Enabled="true"
        Minimum="1"
        TargetControlID="txtReorderLevel" Width="100">
    </ajax:NumericUpDownExtender>
    <br />
    <br />
    <asp:Label ID="Label4" runat="server" Text="Reorder Quantity"></asp:Label>
&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="txtReorderQty" runat="server" Height="20px"></asp:TextBox>
    <ajax:NumericUpDownExtender ID="txtReorderQty_NumericUpDownExtender" runat="server" 
        Enabled="True"
        Minimum="1"
        TargetControlID="txtReorderQty" Width="100">
    </ajax:NumericUpDownExtender>
    <br />
    <br />
    <asp:Label ID="Label5" runat="server" Text="Bin No."></asp:Label>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:TextBox ID="txtBinNo" runat="server" Height="20px" Width="75px" ></asp:TextBox>
    <br />
    <br />
    <center>
    <asp:Button ID="btn_Save" runat="server" Text="Save" Height="32px" Width="57px" 
            onclick="btn_Save_Click" CssClass="ButtonStyle" />
    </center>
&nbsp;
</asp:Content>
<asp:Content ID="Content3" runat="server" 
    contentplaceholderid="ContentPlaceHolder3">
      
                </asp:Content>
<asp:Content ID="Content4" runat="server" 
    contentplaceholderid="ContentPlaceHolder4">
     
                </asp:Content>
<asp:Content ID="Content5" runat="server" 
    contentplaceholderid="ContentPlaceHolder1">
        
                </asp:Content>
<asp:Content ID="Content6" runat="server" 
    contentplaceholderid="ContentPlaceHolder6">
       
                </asp:Content>
<asp:Content ID="Content7" runat="server" 
    contentplaceholderid="ContentPlaceHolder7">

                </asp:Content>

